/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.system.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import me.zhengjie.annotation.Query;

/**
* @website https://el-admin.vip
* @author zhaoxiancheng
* @date 2021-11-23
**/
@Data
public class WxUserQueryCriteria{

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String nickname;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String realName;

    /** 精确 */
    @Query(type = Query.Type.INNER_LIKE)
    private String mobile;

    /** 精确 */
    @Query
    private String openId;

    @Query(type = Query.Type.GREATER_THAN,propName="subscribeTime")
    private String subscribeTimeFrom;

    @Query(type = Query.Type.LESS_THAN_NQ,propName="subscribeTime")
    private String subscribeTimeTo;

    @Query(type = Query.Type.LESS_THAN)
    private Timestamp lockTime;

    @Query
    private String identityNo;

    @ApiModelProperty(value = "归属人手机号")
    @Query
    private String superiorMobile;

    @ApiModelProperty(value = "归属人微信昵称")
    @Query
    private String superiorNickName;

    @Query
    @ApiModelProperty(value = "合夥人ID")
    private Long partnerId;
}